// 观察data 属性
class Observe {
  constructor(vm, targetKey) {
    Object.keys(vm[targetKey]).forEach((key) => {
      defineProperty(vm[targetKey], key, vm[targetKey][key])
    })
  }
}